package cn.iocoder.yudao.module.erp.controller.admin.customeraccount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 客户余额新增/修改 Request VO")
@Data
public class CustomerAccountSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17583")
    private Long id;

    @Schema(description = "客户", example = "10081")
    private Long customerId;

    @Schema(description = "当前余额", requiredMode = Schema.RequiredMode.REQUIRED, example = "12908")
    @NotNull(message = "当前余额不能为空")
    private BigDecimal nowCount;

    @Schema(description = "销售总额", requiredMode = Schema.RequiredMode.REQUIRED, example = "11211")
    @NotNull(message = "销售总额不能为空")
    private BigDecimal saleCount;

    @Schema(description = "购买总额", requiredMode = Schema.RequiredMode.REQUIRED, example = "12831")
    @NotNull(message = "购买总额不能为空")
    private BigDecimal buyCount;

    @Schema(description = "备注", example = "随便")
    private String remark;

}